#include <iostream>

void PrintBinary(int num){
    for (int i=31; i>=0; i--){
        std::cout << ((num & (1 << i))==0 ? "0" : "1");
    }
    std::cout << std::endl;
}

int main(){

    std::cout << "====-6的二进制=========" << std::endl;
    PrintBinary(-6);

    return 0;
}